package com.xjscrm.console.chat.frame.recv;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 拉取聊天中会话的聊天记录
 *
 * @author mingyang.chen create in 2024/3/11 18:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RPullRecordMsg extends RBaseMsg {

    @ApiModelProperty(value = "聊天会话id", required = true)
    private Long talkSessionId;

    @ApiModelProperty(value = "聊天消息类型, 1:文本, 2:图片, 4:视频, 6:链接, 8:文件, 9:名片, 13:小程序, 14:表情")
    private Integer contentType;

    @ApiModelProperty(value = "搜索关键词")
    private String keyword;

    @ApiModelProperty(value = "拉取时间, 不传则默认取会话的最后一条消息并向上查")
    private Integer pullTime;

    @ApiModelProperty(value = "拉取数量", required = true)
    private Integer pullCount;
}
